package org.Iteration1.persistencia;

import java.util.LinkedList;
import org.Iteration1.dominio.Personaje;

/* 1.0 version */

public class Agente {

	private static Agente instancia;
	
	/* singleton pattern */
	public static Agente getAgente() {
		
		if (instancia==null)
			instancia = new Agente();
		
		return instancia;
	}
	
	public LinkedList<Personaje> getPersonajes() {
		/* persistence is simulated from now on.
		 * Real persistence will be implemented by
		 * owner codification in Iteration 7, 
		 * through a subcontract.
		 * So now this class is a skeleton;
		 * PERSISTENCE SIMULATION IS IN DOMAIN PART.
		 * 
		 */
		
		return null;
	}
	
}
